package com.ruoyi.uav.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 教材信息对象 uav_teaching_material
 *
 * @author ruoyi
 * @date 2024-01-05
 */
@Data
@ApiModel(value = "教材信息对象", description = "教材信息对象")
public class UavTeachingMaterial extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 教材id */
    @ApiModelProperty("教材id")
    @TableId(value = "teaching_material_id" ,type = IdType.AUTO)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long teachingMaterialId;

    /** 教材名称 */
    @ApiModelProperty("教材名称")
    @Excel(name = "教材名称")
    private String teachingMaterialName;

    /** 教材信息（PDF或者MP4的地址） */
    @ApiModelProperty("教材信息（PDF或者MP4的地址）")
    @Excel(name = "教材信息", readConverterExp = "P=DF或者MP4的地址")
    private String teachingMaterialInfo;

    /** 无人机类型 */
    @ApiModelProperty("无人机类型")
    @Excel(name = "无人机类型")
    private String uavType;

    /** 无人机型号 */
    @ApiModelProperty("无人机型号")
    @Excel(name = "无人机型号")
    private String uavNum;

    /** 教材类型 */
    @ApiModelProperty("教材类型")
    @Excel(name = "教材类型")
    private String teachingMaterialType;

    /** 权限(OFF :0, ON :1) */
    @ApiModelProperty("权限(OFF :0, ON :1)")
    @Excel(name = "权限(OFF :0, ON :1)")
    private String permission;


}
